Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Upgrade package to the latest. #322

Merged

Conversation

andy840119
Copy link
Member

Using the latest osu-framework and upgrade shaders to new spir-v.

Here's another PR that doing the same things:
#321

Here's the change about the shader:
https://github.com/ppy/osu-framework/releases/tag/2023.314.0

@andy840119 andy840119 added package any package update. API changed Will cause API broken if upgrade the package labels Mar 19, 2023
@andy840119
Copy link
Member Author

andy840119 commented Mar 19, 2023

remaining things:

  • review this PR.
  • fix the test case failed 😢 -> seems it's because shader not loaded by TestGame in the test case. The TestGame object even no being created in the test case.

Comment on lines +34 to +37
// todo: think about how to upload the texture.
// Texture.Bind(1);
// var unitId = TextureUnit.Texture1 - TextureUnit.Texture0;
// GetUniform<int>(@"g_RepeatSample").UpdateValue(ref unitId);
Copy link
Member Author

@andy840119 andy840119 Mar 19, 2023

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops.

  • should deal with upload the texture to the shader also.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Will leave this broken part to the #323 because it might be hard to fix now.

@andy840119 andy840119 force-pushed the upgrade-package-to-the-latest branch from 069aa20 to 7e607bb Compare March 19, 2023 12:10
@andy840119
Copy link
Member Author

Guess should be OK to merge this now.

@andy840119 andy840119 merged commit f67678e into karaoke-dev:master Mar 19, 2023
@andy840119 andy840119 deleted the upgrade-package-to-the-latest branch March 19, 2023 14:15
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
API changed Will cause API broken if upgrade the package package any package update. size/XL
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant